package homework01;

public class Desk {
	private boolean flag=false;
	private final Object lock=new Object();
	private static int count=0;
	
	public static int getCount() {
		return count;
	}
	public static void setCount(int count) {
		Desk.count = count;
	}
	public boolean isFlag() {
		return flag;
	}
	public void setFlag(boolean flag) {
		this.flag = flag;
	}
	public Object getLock() {
		return lock;
	}
	/**
	 * 
	 */
	public Desk() {
	}
	
}
